import { p1Arr, p2Arr, p2Arr2, p3Arr, p4Arr, p5Arr } from './tpl'

// containerBg
const containerBgObject = [
  {
    img: p1Arr[0],
    x: 0,
    y: 0,
    alpha: 1,
    sprName: 'bgSpr',
    sprGroup: 'containerBg'
  }
]

// containerSeances  (seances1-seances4)
const seances1Object = [
  {
    img: p1Arr[5],
    x: 0,
    y: 0,
    alpha: 1,
    sprName: 'p1Bg',
    sprGroup: 'containerSeances/seances1'
  },
  {
    img: p1Arr[6],
    x: -20,
    y: 177,
    alpha: 1,
    sprName: 'p1Cloud1',
    sprGroup: 'containerSeances/seances1'
  },
  {
    img: p1Arr[7],
    x: 752,
    y: 0,
    alpha: 1,
    sprName: 'p1Cloud2',
    sprGroup: 'containerSeances/seances1'
  },
  {
    img: p1Arr[8],
    x: 0,
    y: 1093,
    alpha: 1,
    sprName: 'p1Grass1',
    sprGroup: 'containerSeances/seances1'
  },
  {
    img: p1Arr[9],
    x: 836,
    y: 1161,
    alpha: 1,
    sprName: 'p1Grass2',
    sprGroup: 'containerSeances/seances1'
  },
  {
    img: p1Arr[10],
    x: 732,
    y: 0,
    alpha: 1,
    sprName: 'p1House',
    sprGroup: 'containerSeances/seances1'
  },
  {
    img: p1Arr[11],
    x: 996,
    y: 600,
    alpha: 1,
    sprName: 'p1P1',
    sprGroup: 'containerSeances/seances1'
  },
  {
    img: p1Arr[12],
    x: 424,
    y: 419,
    alpha: 0,
    sprName: 'p1Star',
    sprGroup: 'containerSeances/seances1'
  },
  {
    img: p1Arr[13],
    x: -20,
    y: 604,
    alpha: 1,
    sprName: 'p1Tree',
    sprGroup: 'containerSeances/seances1'
  }
]

const seances2Object = [
  {
    img: p2Arr[0],
    x: 0,
    y: 816,
    alpha: 1,
    sprName: 'p21',
    sprGroup: 'containerSeances/seances2'
  },
  {
    img: p2Arr[4],
    x: 144,
    y: 768,
    alpha: 1,
    sprName: 'p2Mother',
    sprGroup: 'containerSeances/seances2'
  },
  {
    img: p2Arr[5],
    x: 613,
    y: 31,
    alpha: 1,
    sprName: 'p2School',
    sprGroup: 'containerSeances/seances2'
  },
  {
    img: p2Arr[2],
    x: 1298,
    y: 414,
    alpha: 1,
    sprName: 'p2Huati',
    sprGroup: 'containerSeances/seances2'
  },
  {
    img: p2Arr[1],
    x: 1508,
    y: 262,
    alpha: 1,
    sprName: 'p2Boy',
    sprGroup: 'containerSeances/seances2'
  },
  {
    img: p2Arr[6],
    x: 1200,
    y: 1149,
    alpha: 1,
    sprName: 'p2Shitou',
    sprGroup: 'containerSeances/seances2'
  },
  {
    img: p2Arr[7],
    x: 1932,
    y: 49,
    alpha: 1,
    sprName: 'p2Tree4',
    sprGroup: 'containerSeances/seances2'
  },
  {
    img: p2Arr[8],
    x: 2243,
    y: 349,
    alpha: 1,
    sprName: 'p2Wutai',
    sprGroup: 'containerSeances/seances2'
  },
  {
    img: p2Arr2[0],
    x: 0,
    y: 0,
    sprName: 'p2Child',
    alpha: 1,
    sprGroup: 'containerSeances/seances2'
  },
  {
    img: p2Arr[3],
    x: 1932,
    y: 307,
    alpha: 1,
    sprName: 'p2Lotsofyinfu',
    sprGroup: 'containerSeances/seances2'
  },
  {
    img: p2Arr[9],
    x: 3009,
    y: 273,
    alpha: 1,
    sprName: 'p2Yinfu',
    sprGroup: 'containerSeances/seances2'
  }
]

const seances3Object = [
  {
    img: p3Arr[1],
    x: 826,
    y: 142,
    sprName: 'p32',
    alpha: 1,
    sprGroup: 'containerSeances/seances3'
  },
  {
    img: p3Arr[0],
    x: 0,
    y: 80,
    sprName: 'p31',
    alpha: 0,
    sprGroup: 'containerSeances/seances3'
  },
  {
    img: p3Arr[2],
    x: 971,
    y: 24,
    alpha: 1,
    sprName: 'p33',
    sprGroup: 'containerSeances/seances3'
  },
  {
    img: p3Arr[3],
    x: 2397,
    y: 453,
    alpha: 1,
    sprName: 'p3Childbirth',
    sprGroup: 'containerSeances/seances3'
  }
]

const seances4Object = [
  {
    img: p4Arr[0],
    x: 691,
    y: 529,
    alpha: 1,
    sprName: 'p41',
    sprGroup: 'containerSeances/seances4'
  },
  {
    img: p4Arr[1],
    x: 588,
    y: 0,
    alpha: 1,
    sprName: 'p4Bg',
    sprGroup: 'containerSeances/seances4'
  },
  {
    img: p4Arr[2],
    x: 0,
    y: 0,
    alpha: 1,
    sprName: 'p2House3',
    sprGroup: 'containerSeances/seances4'
  },
  {
    img: p4Arr[3],
    x: 1398,
    y: 0,
    alpha: 1,
    sprName: 'p2Start',
    sprGroup: 'containerSeances/seances4'
  }
]

// containerLast
const containerLastObject = [
  {
    img: p5Arr[0],
    x: 0,
    y: 0,
    alpha: 0,
    sprName: 'bgLast',
    sprGroup: 'containerLast'
  }
]

export { containerBgObject, seances1Object, seances2Object, seances3Object, seances4Object, containerLastObject }
